package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.pojo.Customer;
import org.example.pojo.PayDetail;

import java.util.List;

public interface PayDetailMapper {
    //添加数据
    void addPayDetail(PayDetail payDetail);

    //删除数据
    void deletePayDetail(@Param("PDids") Integer[] PDids);

    //修改数据
    void updatePayDetail(PayDetail payDetail);

    //查询数据
    List<PayDetail> queryPayDetail(PayDetail payDetail);

    List<PayDetail> selectAll();

    //查询数据用主键
    PayDetail queryPayDetailByPDid(Integer PDid);
}
